home *** CD-ROM | disk | FTP | other *** search
- DbStatus is a small data-aware control which have the task to visual
- inform the user in which state a datasource currently is. It does it
- with a small bitmap in a panel, which changed whenever the linked
- datasource changed his state. It can also linked to a TDbNavigator
- and control the visible buttons of the navigator depended of the
- datasource-state.
-
- For registration info look in the file xTool.Txt.
-
- TDbStatus
- =========
-
- propertys
- ---------
- DataSource : TDataSource
-
- Here you set the datasource which you want to connect to.
- After setting the datasource informs the TDbStatus control
- of each state change, so the control can act.
-
- It currently displays the following bitmaps :
-
- dsSetKey - a zoom glass
- dsBrowse - a book
- dsEdit - pencil on a filled paper
- dsInsert - pencil on a empty paper
-
- Navigator : TDbNavigator
-
- Here you can set a Navigator which visual apperance you
- also want to control on state changed. For example I
- not need to see the disabled Post and Cancel Buttons
- in the Browse state. Here are the buttons which
- you can see in each state :
-
- dsSetKey - first,next,prior,last
- dsBrowse - first,next,prior,last,edit,delete,insert
- dsEdit,
- dsInsert - post,cancel
-
- Setting of this property isn't neccessary.
-
- Tips & Tricks
- -------------
-
- Please send me your own glyphs for the status. If I have enough
- together I plan to enhance this component to support various
- bitmaps.